﻿using Abp.Application.Services;
using AVIS.OutBound.BookOrders.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace AVIS.OutBound.BookOrders
{
    /// <summary>
    /// 预订单的应用服务类
    /// </summary>
    public interface IBookOrderAppService : IApplicationService
    {
        /// <summary>
        /// 选择取还车门店预订接口
        /// </summary>
        /// <param name="input">请求参数</param>
        /// <returns></returns>
        BookOrderIdOutput SubmitStore(SubmitStoreInput input);

        /// <summary>
        /// 选择车组预订接口
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        BookOrderIdOutput SubmitCarGroup(SubmitCarGroupInput input);

        /// <summary>
        /// 选择增值服务预订接口
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        BookOrderIdOutput SubmitCarEquipment(SubmitCarEquipmentInput input);

        /// <summary>
        /// 查询预订单接口
        /// </summary>
        /// <param name="orderId">订单ID</param>
        /// <returns></returns>
        [HttpGet]
        BookOrderOutput Detail(string orderId);
    }

}
